const app = getApp();
Component({
  options: {
    addGlobalClass: true,
  },
  data: {
    iconList: [{
      icon: 'friendfill',
      color: 'blue',
      badge: 120,
      name: '访客申请',
      url: '/pages/visitor/apply/apply'
    }, {
      icon: 'newsfill',
      color: 'orange',
      badge: 1,
      name: '会议预定',
      url: '/pages/meeting/apply/apply'
    }, {
      icon: 'repairfill',
      color: 'yellow',
      badge: 0,
      name: '报修',
      url: '/pages/device/repair/repair'
    }, {
      icon: 'noticefill',
      color: 'olive',
      badge: 22,
      name: '通知',
      url: '/pages/notice/notice'
    }, {
      icon: 'locationfill',
      color: 'cyan',
      badge: 0,
      name: '导航',
      url: '/pages/visitor/apply/apply'
    }, {
      icon: 'rankfill',
      color: 'blue',
      badge: 0,
      name: '报表',
      url: '/pages/visitor/apply/apply'
    }, {
      icon: 'profilefill',
      color: 'purple',
      badge: 0,
      name: '会员中心',
      url: '/pages/visitor/apply/apply'
    }, {
      icon: 'questionfill',
      color: 'mauve',
      badge: 0,
      name: '帮助'
    }, {
      icon: 'commandfill',
      color: 'purple',
      badge: 0,
      name: '问答'
    }, {
      icon: 'brandfill',
      color: 'mauve',
      badge: 0,
      name: '版权'
    }],
    gridCol: 4,
    skin: false,
    cardCur: 0,
    swiperList: [{
      id: 0,
      type: 'image',
      url: 'http://47.104.237.150:8093/images/nav.jpg'
    }, {
      id: 1,
      type: 'image',
      url: 'http://47.104.237.150:8093/images/nav1.png'
    }, {
      id: 2,
      type: 'image',
      url: 'http://47.104.237.150:8093/images/nav.jpg'
    }, {
      id: 3,
      type: 'image',
      url: 'http://47.104.237.150:8093/images/nav1.png'
    }],
  }
})